package com.xinqi.modules.sys.stats.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xinqi.common.mybatis.data.entity.SuperEntity;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 学校教学数据统计实体层
 *
 * @author: wenjie
 * @date: 2023/08/24
 */
@Setter
@Getter
@TableName("st_school_teaching_day_st")
public class SchoolTeachingDayStEntity extends SuperEntity {
    /**
     * 创建时间（单位：毫秒）
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    /**
     * 最后的修改时间（单位：毫秒）
     */
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    /**
     * 统计日期
     */
    @TableField(value = "stats_date")
    private LocalDate statsDate;
    /**
     * 学校id
     */
    @TableField(value = "school_id")
    private Long schoolId;
    /**
     * 学校名称
     */
    @TableField(value = "school_name")
    private String schoolName;

    /**
     * 今日新增学校
     */
    @TableField(value = "today_school")
    private Integer todaySchool;

    /**
     * 班级数量
     */
    @TableField(value = "class_count")
    private Integer classCount;
    /**
     * 老师总数
     */
    @TableField(value = "total_teacher")
    private Integer totalTeacher;
    /**
     * 今日新增老师
     */
    @TableField(value = "today_teacher")
    private Integer todayTeacher;
    /**
     * 今日老师活跃数
     */
    @TableField(value = "today_activity_teacher")
    private Integer todayActivityTeacher;
    /**
     * 学生总数
     */
    @TableField(value = "total_student")
    private Integer totalStudent;
    /**
     * 今日新增学生
     */
    @TableField(value = "today_student")
    private Integer todayStudent;
    /**
     * 今日学生活跃数
     */
    @TableField(value = "today_activity_student")
    private Integer todayActivityStudent;
    /**
     * 家长总数
     */
    @TableField(value = "total_patriarch")
    private Integer totalPatriarch;
    /**
     * 今日新增家长
     */
    @TableField(value = "today_patriarch")
    private Integer todayPatriarch;
    /**
     * 今日家长活跃数
     */
    @TableField(value = "today_activity_patriarch")
    private Integer todayActivityPatriarch;
    /**
     * 作业发布总数
     */
    @TableField(value = "total_homework")
    private Integer totalHomework;
    /**
     * 今日作业统计
     */
    @TableField(value = "today_homework")
    private Integer todayHomework;
    /**
     * 测评发布总数
     */
    @TableField(value = "total_exam")
    private Integer totalExam;
    /**
     * 今日测评统计
     */
    @TableField(value = "today_exam")
    private Integer todayExam;
    /**
     * 讨论发布总数
     */
    @TableField(value = "total_discuss")
    private Integer totalDiscuss;
    /**
     * 今日讨论统计
     */
    @TableField(value = "today_discuss")
    private Integer todayDiscuss;
    /**
     * 公告发布总数
     */
    @TableField(value = "total_notice")
    private Integer totalNotice;
    /**
     * 今日公告统计
     */
    @TableField(value = "today_notice")
    private Integer todayNotice;
    /**
     * 资料发布总数
     */
    @TableField(value = "total_resource")
    private Integer totalResource;
    /**
     * 今日资料统计
     */
    @TableField(value = "today_resource")
    private Integer todayResource;
    /**
     * 课件发布总数
     */
    @TableField(value = "total_courseware")
    private Integer totalCourseware;
    /**
     * 今日课件统计
     */
    @TableField(value = "today_courseware")
    private Integer todayCourseware;
    /**
     * 视频发布总数
     */
    @TableField(value = "total_video")
    private Integer totalVideo;
    /**
     * 今日视频统计
     */
    @TableField(value = "today_video")
    private Integer todayVideo;
    /**
     * 活跃数
     */
    @TableField(value = "total_teaching_activity")
    private Integer totalTeachingActivity;
}
